#!/bin/bash

. ~/admin-openstack.sh

openstack volume type create lvm
openstack volume type set --property volume_backend_name=lvm01 lvm

openstack volume type create nfs
openstack volume type set --property volume_backend_name=nfs01 nfs

openstack volume create --size 1 --type lvm disk01 #lvm类型
openstack volume create --size 1 --type nfs disk02 #nfs类型
openstack volume list

openstack volume type show lvm
openstack volume type show nfs

openstack volume type create ceph
openstack volume type set --property volume_backend_name=ceph ceph
